package com.orm.mybatis.shiro.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Role {

    private Long id;

    private String roleName;
    /**
     * 角色对应权限集合
     */
    private Set<Permission> permission;

}
